package cn.scut.srp.mapper;

import cn.scut.srp.model.entity.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface OrderInfoMapper {
    //这个sql在注解里也太难写了,放在xml里了
    //List<JfSchedule> findScheduleByDates(@Param("dates") List<LocalDate> dates);

    List<OrderInfo> findOrderInfoByDates(@Param("dates") List<LocalDate> dates);

    List<OrderInfo> findOrderInfoByCourseName(@Param("courses") List<String> courseNames);

}
